import request from '@/utils/request';
export async function getAllFsuType(params) {
  return request(`/api/fsuType/all`);
}
export async function addFsuType(params) {
  return request(`/api/fsuType/add`, { method: 'post', data: params });
}
export async function updateFsuType(params) {
  return request(`/api/fsuType/update`, { method: 'post', data: params });
}
export async function queryLogo(params) {
  return request(`/api/logo/queryLogo`, { params });
}
export async function deleteFsuType(params) {
  return request(`/api/fsuType/${params.id}`, { method: 'delete' });
}
export async function logoUpload(params) {
  return request(`/api/logo/upload`, {
    method: 'POST',
    data: params,
  });
}
export async function setCurrentType(params) {
  return request(`/api/fsuType/currentType/${params.id}`, { method: 'post' });
}
